package com.etc.config;

import java.io.FileWriter;
import java.io.IOException;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *修改日期：2017-04-05
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {

//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "2021000116693832";

	// 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCoq6RS8jdgF5DI+dByD4AXH2G33l558rg1jkR2X6XYYSWPUUcuc6+VyIKmV7lucKp56T2iq/pi0KA0N0zR98qL+0LCIbJD+96MDXDCKXLFubIN/TXZ42mKRNIog4ARdPQi56idPJhHRHoTKDC5+NbQdOsWUNDkHT9qOBz3WR1D0WU9e+JgqQXmuDfyiv5IcIf8jr5DzTm74MljWz6Fb/ueiLoNWltFx7L3F/Vbqi3+Vbut81CbdCZPib1oMqtvHXk0exeZLilHgi1sHb5MRlQ13/DXDl4jWOnpQqwmMwj34xSf7VySiL+QeqBR+wwELwqycJWEZTC+eSLLEH5AlMfzAgMBAAECggEBAJEjCQYayI2WGY7mb3gGYHkFFufJn9AdjGcBIWYeja2wgkpdbPvKrhcb71hFehlPN1Ip4lB83bpzvLbRsvel2hMzxNEZf7TCIVCwLAvW8Jy1WkJxVQpFhkZlS9VyuhvLYFw8rLmIL5x7jvO3DJ6qQeYkBToxll4D0NKMsFgixWzZdvtmyfTU4mTNQuGVuz/zwJPPf3y87WBX8U78S0OOYGJ1vDoVb5pmMmZu8E31Kw/zpz9zyAXrqSamDm6bddJJebTDKM0dyTadwyx+q6x2JFuSXd8kwkte4kgzPM5CwTIqD6a7haAvjqTn8YPFkrwrbFPVwmcLyFsVzF/bGNiJpLkCgYEA1/+m/RvHUhOwbV8Ikp0fYJ3zB6b1pJy2XM+AyClNEsD0oqSJpzm6GTKd3H9+0CH/0Jvx5FByU9kvUYhYYApSGD23KJkB4JSBA9UbisKg5lun9aGcvrszek48xRhkwpkzsqs4QQm7Bn0y3Xfc6il0jwBERp5xWH5gkQk2JX+bypUCgYEAx+gxlA/6bIXRha4KW9h/1O//KjY1qiJZ3mcvkIWqfkXK+MN8UZNR0n24vo8y5vksGUvaaY6W0c/PHX7n+GSzyotPTzmF8975lROgA6GIxYkX4BwYt74swVzjOYkhNfSEWS1jQxNLxiNaLklrIno9OaA7eCL30c8v5D9R6UghrmcCgYEAuZrB6H8FQJ8QnHrsB+gh/Ujce/fY3tGW1pusAtOSmgnabSPL8Tlmk55uDfo0gy6j/qLyMYl7JFfdFEeAAU79Cj2F9Mm91jhlwGBQIWVrE2cxJZ3w7eg4rOEr0QVMF/fDd8UvOpvc7Q+KNMp5t3FV6keFY9VkenFmE1sB/yjvOx0CgYBUzFH7lKuNzVYLdsA+JaBUG1oJ9eTdvqSQiwTKMWkZF1H6JDJgCDX1LA9qBiR5hckHEf4cOLgRWC1rPaH44/7ANEf4O1ZvFG6apjCCWctCv9y43DI//xPNEjHw/hJwaMCbc31fvpet/OEMMWiYv3GpOCcB1xN4lIKkN5fvdQGUkQKBgQCE509AcqqgTLItAEW5K2EsqAVismlj5ykrgYWX8wS7rQ5pf1owahyd7xbTrwhwor9kGN9/FKhuETbjYQBziwOHPq/2tVkV+GvrckuQpIF4x64ixzSsFm3aCRcdk5vOLTGVr91K1BBx9b4gs99mdsJsvz96RoCwKwO0HIyQAzsBRQ==";

	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxi5IR6WuDNb++EukjN7I7xYIo7+czaEqPTGn/cAxwsGj1aDKV29Z+SjQO2I4pmeLw8Cx7yNQh9XjguiQf9dvuTrr7tJG2qo5TCDeExkXmKSsMXORU0gMXdHjPsoFIxMN3wcohlo2d1+5beKUHOpE2yrfL5RePID/4wNfPjD/dhaIkDB7Jv7QyCE3DAT17N5dmpMdlvoJISLoy7k+FhQlY6BfOz5f2zpUwMmgVzNolZz3T4ZE1CTugTRT/TtGqXtGQ8Z3NUmv6Wp1J3SOChFuyy7QSJURHZQlCcMwN7oy54FMPGP699dVlg7Isl+TOZkZC6vzIQBOWSAGdwDwQa3RnQIDAQAB";

	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "http://127.0.0.1:7777/Home";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "http://127.0.0.1:7777/Home";

	// 签名方式
	public static String sign_type = "RSA2";

	// 字符编码格式
	public static String charset = "utf-8";

	// 支付宝网关
	public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

	// 支付宝网关
	public static String log_path = "C:\\";



}

